package com.swt.gap.model.vo.graph;

import com.swt.gap.common.graph.GraphNeo4jVO;
import com.swt.gap.model.entity.Task;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 请填写说明
 *
 * @author sx
 * @date 2020/5/13 15:35
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class TaskOverviewVO extends Task {

    private List<NodeTypeCount> entityTypeCounts;

    private GraphNeo4jVO graph;

    @Data
    public static class NodeTypeCount {
        private Integer nodeType;
        private String nodeTypeName;
        private Long nodeCount;
        private List<NodeTypeCount> nodeTypeCounts;
    }

}
